#ifndef MATCH_H_
#define MATCH_H_

#include <vector>

using namespace std;

namespace mtga {
	class UserState;
	class CardInstance;
}

namespace mtga {

	/**
	 * Representa una partida de dos jugadores
	 */
	class Match {
		public:
			Match();
			virtual ~Match();
			virtual void init(UserState* first, UserState* second);
			UserState* getActivePlayer() const {
				return activePlayer;
			}
			vector<CardInstance*> getStack() const {
				return stack;
			}
		private:
			UserState* first;
			UserState* second;
			UserState* activePlayer;
			vector<CardInstance*> stack;
	};
}

#endif
